import request from '@/utils/request'
import { requestPath } from '@/utils/global.js'

export function getSpecialList(params) { //专题列表
    return request({
        url: `${requestPath.resource}/project-library/list`,
        method: 'get',
        params
    })
}

export function getSpecialDetails(params) { //专题详情
    return request({
        url: `${requestPath.resource}/project-library/get/${params}`,
        method: 'get'
    })
}

export function specialRecommAPI(params) { //专题详情-推荐图书
    return request({
        url: `${requestPath.resource}/project-library/get/resource`,
        method: 'get',
        params
    })
}